//
//  HotReplayViewCell.m
//  meiyaya
//
//  Created by 张领瑞 on 2017/9/12.
//  Copyright © 2017年 ShiFeiEr. All rights reserved.
//

#import "HotReplayViewCell.h"

@implementation HotReplayViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)configureViewWithCustomObj:(id)obj{
    if (!obj) return;
    CourseAliveModel *model = (CourseAliveModel *)obj;
    [self.replay_img setImageWithURL:[NSURL URLWithString:model.contentImageUrl] placeholderImage:PLACEHOLDERIMAGE];
    self.replay_class.titleLabel.text = model.category;
    [self.auth_icon setImageWithURL:[NSURL URLWithString:model.broadcaster_icon_url] placeholderImage:PLACEHOLDERIMAGE];
    self.auth_name.text = model.broadcaster_name;
    self.replay_count.text = model.broadcaster_count;
}
@end
 
